const remote = require('electron').remote;
const dialog = remote.dialog;
function onClick_Save(){
    const label = document.getElementById('label');
    var options = {};
    options.title = '保存文件';
    options.buttonLabel = '保存';
    options.defaultPath='.';
    options.nameFieldLabel='请输入要保存的文件名';
    label.innerText = dialog.showSaveDialog(options);
    dialog.showSaveDialog(options,(filename) => {
        label.innerText = filename;
    });
            
}

